//
//  MyBranchMenuWithFourItemView.h
//  ShangHaiHuDongApp
//
//  Created by 刘应平 on 2017/6/16.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomeImageAndLabelView.h"
@class MyBranchMenuWithFourItemView;
@protocol MyBranchMenuWithFourItemDelegate <NSObject>

- (void)view:(MyBranchMenuWithFourItemView *)view MyBranchMenuWithFourItem_tapIndex:(NSInteger)index;

@end
@interface MyBranchMenuWithFourItemView : UIView
/**  data  */
@property (strong, nonatomic) NSArray  *data;

/**  宽度  */
@property (assign, nonatomic) CGFloat  cwidth;
/**  高度  */
@property (assign, nonatomic) CGFloat  cheight;
/** 文字颜色 */
@property (nonatomic, strong) UIColor *textColor;

/** 标注的背景颜色 */
@property (nonatomic, strong) UIColor *messageBgColor;
/** 标注的文字颜色 */
@property (nonatomic, strong) UIColor *messageTextColor;
/**  代理  */
@property (weak, nonatomic) id<MyBranchMenuWithFourItemDelegate>  delegate;


///设置消息条数
-(void)setMessageNumberWithNumber:(NSInteger)number;
///设置党建动态条数
-(void)setDynamicNumberWithNumber:(NSInteger)number;
///设置在线学习条数
-(void)setStudyNumberWithNumber:(NSInteger)number;
- (void)setRedViewHideOrShow:(BOOL)isHide;
@end
